package com.atguigu.gulimall.order.feign;


import com.atguigu.gulimall.order.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

@FeignClient("gulimall-member")
public interface OrderMemberService {

    @GetMapping("/member/memberreceiveaddress/queryUserAddress")
    List<MemberAddressVo> queryUserAddress(@RequestParam("memberId") Long memberId);

}
